package net.yxsoft.resource;

import com.jfinal.kit.PathKit;

import java.io.File;

/**
 *
 */
public class PathRes {

  private PathRes() {
  }

  //region 页面文件路径

  public static final String PATH_SUB_VIEW = "subview/";

  // PC端系统管理页面
  public static final String PATH_PC_MGT_VIEW = "/pc/sysmgt";

  //region 路由

  public static final String URL_API = "/api";

  public static final String URL_LP_API = "/lpapi";

  public static final String URL_COMM_API = "/comm/api";

  public static final String URL_CHAIN_API = "/block";

  // PC端系统管理基础设施页面
  public static final String PATH_PC_MGT_INFRASTRUCTURE_VIEW = PATH_PC_MGT_VIEW + "/infrastructure";
  /**
   * PC端系统管理路由
   */
  public static final String URL_PC_MGT_ROOT = "/sysadmin";

  /**
   * PC端系统管理API路由
   */
  public static final String URL_PC_MGT_API_ROOT = URL_PC_MGT_ROOT + "/api";

  /**
   * PC端端消费者路由
   */
  public static final String URL_PC_CONSUMER_ROOT = "/";








  public static final String URL_NOTIFY = "/notify";

  //endregion

  /**
   * 上传路径
   */
  public static final String PATH_BASE_UPLOAD = PathKit.getWebRootPath() + File.separator + "files";



  /**
   * 下载路径
   */
  public static final String PATH_BASE_DOWNLOAD = PathKit.getWebRootPath() + File.separator + "files";

}
